<template>
  <div id="right">
    <h3>这是Right组件</h3>
    <p>{{ age }}</p>
    <button @click="age++">+1</button>
  </div>
</template>

<script>
export default {
  data() {
    return {
      age: 20,
    };
  },
};
</script>

<style  scoped>
#right {
  background-color: skyblue;
  /* background-color: chocolate; */
  /* padding: 20px 5px; */
  width: 300px;
  height: 200px;
}
</style>